<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
	<title>PrimeFaces 2.2.1</title>
	<link type="text/css" rel="stylesheet"
		href="jquery-ui-1.8.20.custom.css" />
</h:head>
<h:body>
	<h:form>
		<p:pickList value="#{picklistBean.cores}" var="cor" iconOnly="true"
			itemLabel="#{cor}" itemValue="#{cor}">
			<f:facet name="sourceCaption">Lista</f:facet>
			<f:facet name="targetCaption">Selecionadas</f:facet>
		</p:pickList>
		<p:commandButton value="Ver cores selecionadas"
			actionListener="#{picklistBean.mostrarCoresSelecionadas}" />
	</h:form>

</h:body>
</html>